'use strict'

const Home = require('../controllers/home')
const Router = require('koa-router')
const router = Router({
  prefix: '/'
});
// router.get('/', Home.IndexPage)
 
router.get('/',async (ctx, next) => { 
  var search = ctx.search; 
  ctx.response.redirect('/vue/index.html'+search); 
  })
// for require auto in index.js
module.exports = router;